package com.googlecode.quillen.application;

import com.googlecode.quillen.domain.AttributeStorageException;
import com.googlecode.quillen.domain.ObjectStorageException;
import com.googlecode.quillen.util.WorkQueueAbortedException;
import com.googlecode.quillen.util.ResultConsumer;

import java.io.IOException;
import java.security.NoSuchAlgorithmException;
import java.text.ParseException;

/**
 * Created by IntelliJ IDEA.
 * User: greg
 * Date: Dec 11, 2008
 * Time: 8:45:33 PM
 */
public interface Restore
{
    void restore(String snapshot, String base, String filenamePrefix, ResultConsumer<String> consumer)
            throws AttributeStorageException, IOException, ObjectStorageException, NoSuchAlgorithmException, WorkQueueAbortedException, ParseException;
}
